/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.crm.workflow.entity.AbstractWorkFlow
   Module Description   :

   Date Created      : 2009/11/25
   Original Author   : andy.chuang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.crm.workflow.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;
import com.yaodian100.core.common.entity.CommonEntity;

/**
 * @author andy.chuang
 *
 */
@Entity
@Table(name="CRM_WORKFLOW")
public class WorkFlow extends CommonEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -5987858999050439587L;
    private String name;
    private String description;
    private Boolean mustReturnMaster=true;
    /**
     * @return the mustReturnMaster
     */
    public Boolean getMustReturnMaster() {
        return mustReturnMaster;
    }
    /**
     * @param mustReturnMaster the mustReturnMaster to set
     */
    public void setMustReturnMaster(Boolean mustReturnMaster) {
        this.mustReturnMaster = mustReturnMaster;
    }
    /**
     * @return the name
     */
    @Id
    @GeneratedValue(generator = "assigned")
    @GenericGenerator(name = "assigned", strategy = "assigned")
    @Column(length=255)
    public String getName() {
        return name;
    }
    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

}
